﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunArts.EasyDevOps.Shared.Models.SshClient.KeepAlivedClient
{
    public abstract class HealthCheck
    {
        /// <summary>
        /// 连接超时时间(秒)
        /// </summary>
        public int ConnectTimeout { get; set; } = 3;

        /// <summary>
        /// 重试次数
        /// </summary>
        public int RetryCount { get; set; } = 3;

        /// <summary>
        /// 重试间隔(秒)
        /// </summary>
        public int DelayBeforeRetry { get; set; } = 3;
    }
}
